package com.qs.education.service;

import com.qs.education.bean.api.ResponseListBean;
import com.qs.education.bean.beans.EducationSchoolBean;
import com.qs.education.bean.beans.EducationSchoolResponse;
import com.qs.education.bean.entity.EducationSchool;

/**
 * 
 * @class ITeacherService
 * @author Jason
 * @description
 * @date Nov 9, 2018 9:23:11 AM
 */
public interface ISchoolService {

	/**
	 * @Description 查询所有学科
	 * @author Jason
	 * @date Nov 8, 2018
	 * @return
	 */
	ResponseListBean<EducationSchoolBean> getSchoolList();

	/**
	 * @Description 添加学校
	 * @author Jason
	 * @date Nov 13, 2018
	 * @param school
	 * @return
	 */
	EducationSchoolResponse addSchool(EducationSchool school);

	
	/**
	 * @Description 根据条件查询学校
	 * @author Jason
	 * @date Nov 13, 2018
	 * @param school
	 * @return
	 */
	ResponseListBean<EducationSchoolBean> findSchoolByCondition(EducationSchool school);
	
	/** 
	 * @Description 根据ID查找学校信息
	 * @author Jason
	 * @date Nov 14, 2018
	 * @param school
	 * @return
	 */
	EducationSchoolResponse findSchoolById(Integer schoolId);

	/** 
	 * @Description 编辑学校信息
	 * @author Jason
	 * @date Nov 14, 2018
	 * @param school
	 * @return
	 */
	EducationSchoolResponse updateSchool(EducationSchool school);

	/** 
	 * @Description 删除学校信息
	 * @author Jason
	 * @date Nov 14, 2018
	 * @param school
	 * @return
	 */
	EducationSchoolResponse deleteSchool(Integer schoolId);

}
